/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

/**
 *
 * @author alunoinf
 */
public class PessoaFisica extends Pessoa{
    private String cpf;
    
    public PessoaFisica(String nome, String email, String cpf){
    super (nome,email);
    this.cpf = cpf;
    }

    public String getCpf() {
        return cpf;
    }

    public void setCpf(String cpf) {
        this.cpf = cpf;
    }
    
    @Override
    public String getId() {
        return this.cpf;
    }
}
